home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18317 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ix.netcom.com!news
  2. From: Bradd W. Szonye <bradds@ix.netcom.com>
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: RE: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 19 Apr 1996 09:07:07 GMT
  6. Organization: Netcom
  7. Message-ID: <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.829048603@schonberg> <4kets3$ic0@news-s01.ny.us.ibm.net> <829194658snz@tsys.demon.co.uk> <DppsHq.1Ar@world.std.com>
  9. NNTP-Posting-Host: det-mi6-06.ix.netcom.com
  10. X-NETCOM-Date: Fri Apr 19  4:07:07 AM CDT 1996
  11. X-Newsreader: Microsoft Internet News
  12.  
  13.  
  14. On Thursday, April 11, 1996, Robert A Duff wrote...
  15. > In article <829194658snz@tsys.demon.co.uk>,
  16. > Tom Wheeley  <tomw@tsys.demon.co.uk> wrote:
  17. > >What Robert is complaining about is that he is reading a 68 byte file
  18. by
  19. > >requesting 1000 bytes; and that in his opinion, read should stop
  20. reading
  21. > >at the end of the file, and return control.
  22. > No, I think Robert is complaining (quite correctly) that the
  23. > documentation is unclear on this point.  You shouldn't have to rely on
  24. > common sense to know what 'read' does in various error cases, or to know
  25. > which cases are in fact considered errors.  The problem is that
  26. > everybody's common sense doesn't match everybody else's, at least not in
  27. > all cases.
  28.  
  29. Pardon me if this sounds silly, but...
  30. You shouldn't have to rely on the documentation to make up for a lack of
  31. common sense.
  32.  
  33. Bradd.
  34.  
  35.  
  36.